/**
 * 
 */
package com.wrsr.examsys.teacher.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wrsr.examsys.base.dao.BaseDao;
import com.wrsr.examsys.base.service.impl.BaseServiceImpl;
import com.wrsr.examsys.domain.Provinces;
import com.wrsr.examsys.teacher.service.ProvincesService;

/**
 * @author <a href="mailto:2397431783@qq.com">wangruishun</a>
 * @version examsy1.0 2015年1月8日 下午11:54:48
 */
@Service("provincesService")
public class ProvincesServiceImpl extends BaseServiceImpl<Provinces> implements
		ProvincesService {

	
	
	/* (non-Javadoc)
	 * @see com.wrsr.examsys.teacher.service.ProvincesService#getProvincesAll()
	 */
	@Override
	public List<Provinces> getProvincesAll() {
		String hql="from Provinces where 1=?";
		return super.findEntityByHQL(hql, 1);
	}
	
	@SuppressWarnings("rawtypes")
	@Resource(name = "provincesDao")
	public void setDao(BaseDao dao) {

		super.setDao(dao);
	}

	

}
